//登录接口需要携带的参数类型
export interface loginForm {
  username: string;
  password: string;
}
export interface ResposeData{
  code:number,
  message:string,
  ok:boolean
}
//登录接口返回数据类型
export interface loginResponseData extends ResposeData{
  data:string
}
//接口返回的用户信息类型
export interface userInfoData extends ResposeData{
  data:{
    routes:string[],
    buttons:string[],
    roles:string[],
    name:string,
    avatar:string
  }
}